package main

import (
	"fmt"
	queue "learn-go/5.queue"
)

func main() {
	q := queue.Queue{1}

	// #1
	q.Push(2)
	q.Push(3)
	fmt.Println(q.Pop())
	fmt.Println(q.Pop())
	fmt.Println(q.IsEmpty())
	fmt.Println(q.Pop())
	fmt.Println(q.IsEmpty())

	// #2
	q.Push("abc")
	fmt.Println(q.Pop())

	// #3
}
